package cn.tedu.carehome.foundation.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 疾病资料列表项VO类(详情)
 *
 * @author 程辉
 */
@Data
public class IllListItemVO implements Serializable {
    /**
     * 疾病id
     */
    private Long id;
    /**
     * 疾病名称
     */
    private String name;
    /**
     * 疾病类型
     */
    private String type;
    /**
     * 老人id
     */
    private Long olderId;

    private String olderName;
    /**
     * 药品id
     */
    @JsonFormat(pattern = "yyyy年MM月dd日HH时mm分ss秒",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Long medicineId;

    private String medicineName;
    /**
     * 已知治愈方法
     */
    private String cure;

    private LocalDateTime medicineTime;

    private String info;
}
